﻿using System;

namespace Relay.Core.Plugins {
    /// <summary>
    /// A plugin that allows the application core to communicate with an abstract user interface.
    /// </summary>
    public interface IInterfacePlugin : IPlugin {
        /// <summary>
        /// Show the main window of this interface plugin.
        /// </summary>
        void DisplayInterface();

        /// <summary>
        /// Occurs when the main window is closed.
        /// </summary>
        event EventHandler<EventArgs> MainWindowClosed;
    }
}
